package com.wing.qualityTesting.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.qualityTesting.model.entity.ProcessQualityValue;
import com.wing.qualityTesting.model.request.ProcessQualityValueForm;
import com.wing.qualityTesting.model.response.ProcessQualityValueVO;

import java.util.List;
import java.util.Map;

/**
 * 质量参数值-Service
 *
 * @author
 */
public interface ProcessQualityValueService extends IService<ProcessQualityValue> {

    /**
     * 添加
     *
     * @param processQualityValueForm
     * @return
     */
    int add(ProcessQualityValueForm processQualityValueForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<ProcessQualityValueVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<ProcessQualityValueVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    ProcessQualityValueVO get4appById(Long id);


    List<ProcessQualityValueVO> getQualityValueList(Long processQualityId);
}
